<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // for(let i = 1; i>0; i++){
        // let a = prompt("请输入")
        // if(a>90){
        //     alert("优秀")
        //     break
        // }if(a<=90&&a>60){
        //     alert("及格")
        // }if(a<=60&&a>0){
        //     alert("继续努力")
        // }}

        let name = prompt("请输入用户名"),
        password = prompt("请输入密码")
        if(name === "宋嘉乐" && password === "Sjl.2083"){
            alert("登录成功")
        }else{
            alert("登录失败")
        }
    </script>
</body>
</html>